package com.ocom.jobhandler.controller;

import com.ocom.redis.util.RedisUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Description: TODO
 * @Author: 朱晖
 * @Date: 2023/3/11
 **/
@RestController
public class TestController {
	@Resource
	private RedisUtil redisUtil;

	@GetMapping("/555")
	public Object yetc(){
		redisUtil.set("cycy","3456",10l);
		return redisUtil.get("cycy");
	}
}
